<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8" />

    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />

    <title></title>

    <link rel="stylesheet" href="css/layui.css" />

    <link rel="stylesheet" href="css/main.css"/>

</head>

<body>

<form class="layui-form">

    <div class="goodsarg">

        <table class="layui-table" lay-skin="line">
            <tbody>
            <tr>
                <td>店铺名称</td>
                <td><input type="text" placeholder="店名（必填）" name="store_name" id="storename"/></td>
            </tr>
            <tr>
                <td>店铺类型</td>
                <td>
                    <input type="radio" name="store_Type" value="0" title="零售商" checked>
                    <input type="radio" name="store_Type" value="1" title="批发商" >
                </td>
            </tr>
            <tr>
                <td>座机电话</td>
                <td><input type="text" placeholder="座机电话" name="store_phone" id="phone"/></td>
            </tr>
            <tr>
                <td>营业执照号</td>
                <td><input type="text" placeholder="营业执照" name="store_license" id="licensenum"/></td>
            </tr>
            <tr>
                <td>备注</td>
                <td><textarea  placeholder="基本备注信息" name="store_remarks"/></textarea></td>
            </tr>
            </tbody>
        </table>
    </div>
</form>
<div class="authsave">
    <input class="auth" id="authsave" type="submit" value="保存">
</div>
<script type="text/javascript" src="/" ></script>
<script type="text/javascript" src="/jlyyj/Public/js/public.js" ></script>

<script>

    layui.use('form', function(){

        var $ = layui.jquery,

            layer = layui.layer

            ,form = layui.form(); //Tab的切换功能，切换事件监听等，需要依赖element模块

        $("#authsave").click(function () {
            var id = {};
            id["store_name"] = $("#storename").val();
            id["store_Type"] = $("#input[name=store_Type]:checked").value;
        })
    });

</script>

</body>

</html>